<?php
	// configuration for database
	$src_db_host = '192.168.168.14';
	$src_db_username = 'xzreport';
	$src_db_password = 'xzreport1122334455';
	$src_db_name = 'jmailer_vn';

	$dst_db_host = '203.162.70.246';
	$dst_db_username = 'xzone';
	$dst_db_password = 'hellll123qwxdf6f';
	$dst_db_name = 'xzone';

	// configuration variable for log
	$base_path = dirname(__FILE__);
	$log_file = $base_path . '/sync_log.txt';
	$fail_datetime_file = $base_path . '/sync_fail.dat';

	// fee config
	$fee = array(
		'EVN' => array(
			'8079' =>77,
			'8179' =>463,
			'8279' =>1236,
			'8379' => 1772,
			'8479' => 2454,
			'8579' => 3136,
			'8679' => 6545,
			'8779' => 10074,
			'996' => 1236,
			'997' => 464,
			'998' => 1773
		),

		'GPC' => array(
			'996' => 1227,
			'997' => 455,
			'998' => 1773,
			'8079' => 114,
			'8179' => 464,
			'8279' => 1227,
			'8379' => 2000,
			'8479' => 2409,
			'8579' => 3091,
			'8679' => 6500,
			'8779' => 9909
		),

		'HTC' => array(
			'996' => 1275,
			'997' => 502,
			'998' => 1807,
			'8079' => 123,
			'8179' => 502,
			'8279' => 1275,
			'8379' => 1807,
			'8479' => 2489,
			'8579' => 3170,
			'8679' => 6580,
			'8779' => 9989
		),

		'SFONE' => array(
			'996' => 1355,
			'997' => 582,
			'998' => 2173,
			'8079' => 154,
			'8179' => 541,
			'8279' => 1313,
			'8379' => 1841,
			'8479' => 2494,
			'8579' => 3204,
			'8679' => 6614,
			'8779' => 10022
		),

		'VIETTEL' => array(
			'996' => 1236,
			'997' => 464,
			'998' => 1773,
			'8079' => 82,
			'8179' => 464,
			'8279' => 1236,
			'8379' => 1772,
			'8479' => 2455,
			'8579' => 3136,
			'8679' => 6500,
			'8779' => 9909
		),

		'VMS' => array(
			'996' => 1319,
			'997' => 500,
			'998' => 2137,
			'8079' => 114,
			'8179' => 455,
			'8279' => 1227,
			'8379' => 2000,
			'8479' => 2409,
			'8579' => 3091,
			'8679' => 6500,
			'8779' => 9909
		)
	);
?>